﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true"
    CodeFile="ProductList.aspx.cs" Inherits="Manage_ProductList" Title="商品管理" %>

<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" runat="Server">

    <script language="vbscript" src="../Common/yz.vbs"></script>

    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="4">
                <img src="../images/intro_left.gif" width="4" height="34">
            </td>
            <td class="intro_wordbg">
                商品管理
            </td>
            <td background="../images/intro_bg.gif">
                <img src="../images/intro_right.jpg" width="118" height="34">
            </td>
        </tr>
    </table>
    <table id="tabData" class="list" cellpadding="1" cellspacing="1">
        <tr>
            <td class="td_left_20">
                品目号：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtProductCode" runat="server" InvertedComma="品目号" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                通用名：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtProductName" runat="server" InvertedComma="通用名" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_left_20">
                剂型：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtMedicinemodel" runat="server" InvertedComma="剂型" CssClass="txtbox_200"></asp:TextBox>
            </td>
            <td class="td_left_20">
                规格：
            </td>
            <td class="td_right_30">
                <asp:TextBox ID="txtOutlook" runat="server" InvertedComma="规格" CssClass="txtbox_200"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <asp:Button ID="Button5" runat="server" OnClick="Button5_Click" Text="查  询" CssClass="button_80"
                    OnClientClick="javascript:return CheckForm();" />
                <a target="_blank" href="ProductAdd.aspx">新增商品</a>
            </td>
        </tr>
        <tr>
            <td class="td_center" colspan="4">
                <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False">
                    <Columns>
                        <asp:BoundField DataField="productid" HeaderText="品目号" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="productname" HeaderText="通用名" />
                        <asp:BoundField DataField="medicinemodel" HeaderText="剂型" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="outlookc" HeaderText="规格" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="unit" HeaderText="单位" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="xishu" HeaderText="转换系数" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="zl" HeaderText="装量" ItemStyle-HorizontalAlign="Center" />
                        <asp:BoundField DataField="hl" HeaderText="含量" ItemStyle-HorizontalAlign="Center" />
                        <asp:HyperLinkField HeaderText="修改" DataNavigateUrlFormatString="ProductUpdate.aspx?ProductId={0}"
                            Text="修改" DataNavigateUrlFields="ProductId" Target="_blank" ItemStyle-HorizontalAlign="Center" />
                    </Columns>
                </asp:GridView>
                <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
            </td>
        </tr>
    </table>
</asp:Content>
